<template>
	<view class="mx-course-detail-block">
		<text class="block-title">{{title}}</text>
		<slot></slot>
	</view>
</template>

<script>
	export default {
		name:"MxCourseDetailBlock",
		props: {
			title: {
				type: String
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped lang="scss">
@import '@/common/scss/var.scss';
.mx-course-detail-block{
	width: 100%;
	font-family: $font-family;
	.block-title{
		display: inline-block;
		color: $color-title;
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 20rpx;
	}
}
</style>
